; public domain!!
; Atan8[n] = atan( n/256 ) * 180 / pi
;   0 <= n < 256
;
; Revision History:
;	93/ 8/15 Initial: atandeg.asm/master.lib 0.21

	.MODEL SMALL
	.DATA

	public AtanTableDeg, _AtanTableDeg

AtanTableDeg label byte
_AtanTableDeg label byte
	db  0, 0, 0, 1, 1, 1, 1, 2,  2, 2, 2, 2, 3, 3, 3, 3
	db  4, 4, 4, 4, 4, 5, 5, 5,  5, 6, 6, 6, 6, 6, 7, 7
	db  7, 7, 8, 8, 8, 8, 8, 9,  9, 9, 9,10,10,10,10,10
	db 11,11,11,11,11,12,12,12, 12,13,13,13,13,13,14,14
	db 14,14,14,15,15,15,15,16, 16,16,16,16,17,17,17,17
	db 17,18,18,18,18,18,19,19, 19,19,19,20,20,20,20,20
	db 21,21,21,21,21,22,22,22, 22,22,22,23,23,23,23,23
	db 24,24,24,24,24,25,25,25, 25,25,25,26,26,26,26,26
	db 27,27,27,27,27,27,28,28, 28,28,28,29,29,29,29,29
	db 29,30,30,30,30,30,30,31, 31,31,31,31,31,32,32,32
	db 32,32,32,32,33,33,33,33, 33,33,34,34,34,34,34,34
	db 35,35,35,35,35,35,35,36, 36,36,36,36,36,36,37,37
	db 37,37,37,37,37,38,38,38, 38,38,38,38,39,39,39,39
	db 39,39,39,39,40,40,40,40, 40,40,40,41,41,41,41,41
	db 41,41,41,42,42,42,42,42, 42,42,42,43,43,43,43,43
	db 43,43,43,44,44,44,44,44, 44,44,44,44,45,45,45,45
END
